EXEC=test

all:
	cd src;make

clean:
#	rm -vf src/*.o
#	rm -vf src/*~ src/\#*#
	rm -rf bin;
	rm -rf obj;
	rm -rvf *~ \#*#
	cd src; make clean
#	rm -rvf bin

check_mem: all
	valgrind --tool=memcheck ./bin/$(EXEC)